package com.apps.ftapp.model;

import java.util.List;

/**
 * Created by Administrator on 2017/10/23.
 */

public class LianXiTiModel {


    /**
     * success : 1
     * zhengqueshu : 0
     * zongshu : 10
     * zhengquelv : 0%
     * usedtime : 10
     * results : {"id":"12544","paperName":"教育","testId":"0","categoryId":"9","userId":"1","score":"0.0","objectiveScore":"0.0","subjectiveScore":"0.0","teacherSay":"","rightItemCount":"0","passedStatus":"passed","limitedTime":"0","beginTime":"1508742164","endTime":"1508742178","updateTime":"0","active":"1","status":"finished","target":"course-45/lesson-45","checkTeacherId":"0","checkedTime":"1508742178","usedTime":"10"}
     * testResults : [{"id":"943186","itemId":"0","testId":"0","testPaperResultId":"12544","userId":"1","questionId":"641","question_category":"9","status":"wrong","score":"0.0","answer":[],"teacherSay":"","pId":"0","rightan":"[\"2\"]"},{"id":"943187","itemId":"0","testId":"0","testPaperResultId":"12544","userId":"1","questionId":"517","question_category":"9","status":"wrong","score":"0.0","answer":[],"teacherSay":"","pId":"0","rightan":"[\"3\"]"},{"id":"943188","itemId":"0","testId":"0","testPaperResultId":"12544","userId":"1","questionId":"638","question_category":"9","status":"wrong","score":"0.0","answer":[],"teacherSay":"","pId":"0","rightan":"[\"1\"]"},{"id":"943189","itemId":"0","testId":"0","testPaperResultId":"12544","userId":"1","questionId":"520","question_category":"9","status":"wrong","score":"0.0","answer":[],"teacherSay":"","pId":"0","rightan":"[\"1\"]"},{"id":"943190","itemId":"0","testId":"0","testPaperResultId":"12544","userId":"1","questionId":"634","question_category":"9","status":"wrong","score":"0.0","answer":[],"teacherSay":"","pId":"0","rightan":"[\"2\"]"},{"id":"943191","itemId":"0","testId":"0","testPaperResultId":"12544","userId":"1","questionId":"640","question_category":"9","status":"wrong","score":"0.0","answer":[],"teacherSay":"","pId":"0","rightan":"[\"2\"]"},{"id":"943192","itemId":"0","testId":"0","testPaperResultId":"12544","userId":"1","questionId":"8","question_category":"9","status":"wrong","score":"0.0","answer":[],"teacherSay":"","pId":"0","rightan":"[\"2\"]"},{"id":"943193","itemId":"0","testId":"0","testPaperResultId":"12544","userId":"1","questionId":"636","question_category":"9","status":"wrong","score":"0.0","answer":[],"teacherSay":"","pId":"0","rightan":"[\"2\"]"},{"id":"943194","itemId":"0","testId":"0","testPaperResultId":"12544","userId":"1","questionId":"643","question_category":"9","status":"wrong","score":"0.0","answer":[],"teacherSay":"","pId":"0","rightan":"[\"0\"]"},{"id":"943195","itemId":"0","testId":"0","testPaperResultId":"12544","userId":"1","questionId":"514","question_category":"9","status":"wrong","score":"0.0","answer":[],"teacherSay":"","pId":"0","rightan":"[\"2\"]"}]
     */

    private int success;
    private String zhengqueshu;
    private String zongshu;
    private String zhengquelv;
    private String usedtime;
    private ResultsBean results;
    private List<TestResultsBean> testResults;

    public int getSuccess() {
        return success;
    }

    public void setSuccess(int success) {
        this.success = success;
    }

    public String getZhengqueshu() {
        return zhengqueshu;
    }

    public void setZhengqueshu(String zhengqueshu) {
        this.zhengqueshu = zhengqueshu;
    }

    public String getZongshu() {
        return zongshu;
    }

    public void setZongshu(String zongshu) {
        this.zongshu = zongshu;
    }

    public String getZhengquelv() {
        return zhengquelv;
    }

    public void setZhengquelv(String zhengquelv) {
        this.zhengquelv = zhengquelv;
    }

    public String getUsedtime() {
        return usedtime;
    }

    public void setUsedtime(String usedtime) {
        this.usedtime = usedtime;
    }

    public ResultsBean getResults() {
        return results;
    }

    public void setResults(ResultsBean results) {
        this.results = results;
    }

    public List<TestResultsBean> getTestResults() {
        return testResults;
    }

    public void setTestResults(List<TestResultsBean> testResults) {
        this.testResults = testResults;
    }

    public static class ResultsBean {
        /**
         * id : 12544
         * paperName : 教育
         * testId : 0
         * categoryId : 9
         * userId : 1
         * score : 0.0
         * objectiveScore : 0.0
         * subjectiveScore : 0.0
         * teacherSay :
         * rightItemCount : 0
         * passedStatus : passed
         * limitedTime : 0
         * beginTime : 1508742164
         * endTime : 1508742178
         * updateTime : 0
         * active : 1
         * status : finished
         * target : course-45/lesson-45
         * checkTeacherId : 0
         * checkedTime : 1508742178
         * usedTime : 10
         */

        private String id;
        private String paperName;
        private String testId;
        private String categoryId;
        private String userId;
        private String score;
        private String objectiveScore;
        private String subjectiveScore;
        private String teacherSay;
        private String rightItemCount;
        private String passedStatus;
        private String limitedTime;
        private String beginTime;
        private String endTime;
        private String updateTime;
        private String active;
        private String status;
        private String target;
        private String checkTeacherId;
        private String checkedTime;
        private String usedTime;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getPaperName() {
            return paperName;
        }

        public void setPaperName(String paperName) {
            this.paperName = paperName;
        }

        public String getTestId() {
            return testId;
        }

        public void setTestId(String testId) {
            this.testId = testId;
        }

        public String getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(String categoryId) {
            this.categoryId = categoryId;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getScore() {
            return score;
        }

        public void setScore(String score) {
            this.score = score;
        }

        public String getObjectiveScore() {
            return objectiveScore;
        }

        public void setObjectiveScore(String objectiveScore) {
            this.objectiveScore = objectiveScore;
        }

        public String getSubjectiveScore() {
            return subjectiveScore;
        }

        public void setSubjectiveScore(String subjectiveScore) {
            this.subjectiveScore = subjectiveScore;
        }

        public String getTeacherSay() {
            return teacherSay;
        }

        public void setTeacherSay(String teacherSay) {
            this.teacherSay = teacherSay;
        }

        public String getRightItemCount() {
            return rightItemCount;
        }

        public void setRightItemCount(String rightItemCount) {
            this.rightItemCount = rightItemCount;
        }

        public String getPassedStatus() {
            return passedStatus;
        }

        public void setPassedStatus(String passedStatus) {
            this.passedStatus = passedStatus;
        }

        public String getLimitedTime() {
            return limitedTime;
        }

        public void setLimitedTime(String limitedTime) {
            this.limitedTime = limitedTime;
        }

        public String getBeginTime() {
            return beginTime;
        }

        public void setBeginTime(String beginTime) {
            this.beginTime = beginTime;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getActive() {
            return active;
        }

        public void setActive(String active) {
            this.active = active;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getTarget() {
            return target;
        }

        public void setTarget(String target) {
            this.target = target;
        }

        public String getCheckTeacherId() {
            return checkTeacherId;
        }

        public void setCheckTeacherId(String checkTeacherId) {
            this.checkTeacherId = checkTeacherId;
        }

        public String getCheckedTime() {
            return checkedTime;
        }

        public void setCheckedTime(String checkedTime) {
            this.checkedTime = checkedTime;
        }

        public String getUsedTime() {
            return usedTime;
        }

        public void setUsedTime(String usedTime) {
            this.usedTime = usedTime;
        }
    }

    public static class TestResultsBean {
        /**
         * id : 943186
         * itemId : 0
         * testId : 0
         * testPaperResultId : 12544
         * userId : 1
         * questionId : 641
         * question_category : 9
         * status : wrong
         * score : 0.0
         * answer : []
         * teacherSay :
         * pId : 0
         * rightan : ["2"]
         */

        private String id;
        private String itemId;
        private String testId;
        private String testPaperResultId;
        private String userId;
        private String questionId;
        private String question_category;
        private String status;
        private String score;
        private String teacherSay;
        private String pId;
        private String rightan;
        transient private List<?> answer;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getItemId() {
            return itemId;
        }

        public void setItemId(String itemId) {
            this.itemId = itemId;
        }

        public String getTestId() {
            return testId;
        }

        public void setTestId(String testId) {
            this.testId = testId;
        }

        public String getTestPaperResultId() {
            return testPaperResultId;
        }

        public void setTestPaperResultId(String testPaperResultId) {
            this.testPaperResultId = testPaperResultId;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getQuestionId() {
            return questionId;
        }

        public void setQuestionId(String questionId) {
            this.questionId = questionId;
        }

        public String getQuestion_category() {
            return question_category;
        }

        public void setQuestion_category(String question_category) {
            this.question_category = question_category;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getScore() {
            return score;
        }

        public void setScore(String score) {
            this.score = score;
        }

        public String getTeacherSay() {
            return teacherSay;
        }

        public void setTeacherSay(String teacherSay) {
            this.teacherSay = teacherSay;
        }

        public String getPId() {
            return pId;
        }

        public void setPId(String pId) {
            this.pId = pId;
        }

        public String getRightan() {
            return rightan;
        }

        public void setRightan(String rightan) {
            this.rightan = rightan;
        }

        public List<?> getAnswer() {
            return answer;
        }

        public void setAnswer(List<?> answer) {
            this.answer = answer;
        }
    }
}
